package com.bensonbasement.snorflux.server.world.prototypes;

import com.bensonbasement.snorflux.server.verbs.DropVerb;
import com.bensonbasement.snorflux.server.verbs.GetVerb;
import com.bensonbasement.snorflux.server.world.SmallEntity;
import com.bensonbasement.snorflux.server.world.World;

public final class SmallEntityPrototype extends EntityPrototype {
	public static final SmallEntityPrototype SMALLENTITY;
	public static final SmallEntityPrototype ITEM;
	static {
		SMALLENTITY = new SmallEntityPrototype("core_smallentity",EntityPrototype.ENTITY);
		ITEM = new SmallEntityPrototype("core_item",SMALLENTITY);
		ITEM.addVerb(GetVerb.GET);
		ITEM.addVerb(DropVerb.DROP);
	}
	
	private SmallEntityPrototype(String prototypeID, EntityPrototype parent) {
		super(prototypeID, parent);
	}
	
	public SmallEntityPrototype(String prototypeID, SmallEntityPrototype parent) {
		super(prototypeID, parent);
	}
	
	public SmallEntity instantiate(World world) {
		SmallEntity entity = new SmallEntity(world,this);
		return entity;
	}
}
